import {createRouter,createWebHistory} from 'vue-router'
import Home from "../views/Home.vue";
// import StsMonitoring from "../StsMonitoring.vue";
import Other from "../views/Other.vue";
import Layout from "../views/Layout.vue"
import App from "../App.vue";
const router=createRouter({
    history:createWebHistory(),
    linkExactActiveClass:'active',
    routes:[
        {
            path:"/",
            component:Home,
            children:[
                {
                    path:'/Layout',
                    name:'Layout',
                    component:Layout
                },
                {
                    path:'/Other',
                    name:'Other',
                    component:Other
                },
                {
                    path:'/App',
                    name:'App',
                    component:App
                },
            ]


        }
    ]

})
export default router;
